﻿
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace MapleLeaf.IdentityServer.Models {
    /// <summary>
    /// 菜单实体
    /// </summary>
    [Table("ML_SYS_MENU")]
    public class MLMenuEntiy : BaseEntity {
        /// <summary>
        /// 名称
        /// </summary>
        [Column("ML_NAME")]
        public string Name { set; get; }
        /// <summary>
        /// 图标
        /// </summary>
        [Column("ML_ICON")]
        public string Icon { set; get; }
        /// <summary>
        /// 菜单类型
        /// </summary>
        [Column("ML_TARGET")]
        public string Taget { set; get; }
        /// <summary>
        /// 菜单地址
        /// </summary>
        [Column("ML_URL")]
        public string Url { set; get; }
        /// <summary>
        /// 排序
        /// </summary>
        [Column("ML_SORT")]
        public int Sort { set; get; }
        /// <summary>
        /// 菜单状态
        /// </summary>
        [Column("ML_STATUS")]
        public int Status { set; get; }
        /// <summary>
        /// 父级主键
        /// </summary>
        [Column("ML_PID")]
        public int Pid { set; get; }
    }
}
